using System.Collections.Generic;

namespace BK.Model
{
	public class BkEntityComparer : IComparer<IBkEntity>
	{
		public int Compare(IBkEntity x, IBkEntity y)
		{
			if (x.Id > y.Id)
			{
				return 1;
			}

			if (x.Id < y.Id)
			{
				return -1;
			}

			return 0;
		}
	}
}